 <template>
  <div>
    <div>
      <div class="house-item">
        <div class="house-left">
          <!-- <img
     src="http://liufusong.top:8080/uploads/upload_926b41aa5c854ea5c84dae367a106deb.jpg"
     alt
          />-->
          <slot name="house-left"></slot>
        </div>
        <div class="house-right">
          <!-- <h3>114</h3>
    <div class="house-ms">一室/14/东/秋月枫舍</div>
    <div class="house-tag">近地铁</div>
    <div class="price">
     <span>2100</span>元/月
          </div>-->
          <slot name="house-right"></slot>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'MyComm',

  data () {
    return {}
  },

  mounted () {},

  methods: {}
}
</script>

 <style lang="less" scoped>
* {
  margin: 0;
  padding: 0;
}
.house-item {
  position: relative;
  width: 345px;
  height: 100px;
  padding-top: 18px;
  margin: 0 auto;
  display: flex;
  .house-left {
    width: 106px;
    height: 80px;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .house-right {
    flex: 1;
    overflow: hidden;
    line-height: 22px;
    padding-left: 12px;
    h3 {
      font-size: 15px;
      color: #394043;
    }
    .house-ms {
      font-size: 12px;
      color: #afb2b3;
    }
    .house-tag {
      width: 40px;
      height: 12px;
      color: #39becd;
      background: #e1f5f8;
      font-size: 12px;
      border-radius: 3px;
      padding: 4px 5px;
      margin-right: 5px;
      line-height: 12px;
    }
    .price {
      font-size: 12px;
      color: #fa5741;
      span {
        font-size: 16px;
        font-weight: bolder;
      }
    }
  }
  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ddd;
    transform: scale(1, 0.5);
  }
}
</style>
